Method and apparatus for data migration with the efficient use of old assets

ABSTRACT

A method and apparatus for performing data migration in storage systems implementing the remote copy function and virtualizing existing storage devices in a new storage system after migrating the existing storage devices. According to the invention when a new storage system is connected to an old storage system destined for replacement, and prior to starting data migration, remote copy configuration information from the old storage system is migrated to the new storage system. This allows either the new storage system or the old storage system, depending on configuration, to maintain an operational remote copy function with a remote storage system during the data migration. Thereafter, data is migrated from the old storage system as a virtual volume to the new storage system while data is being transferred between the new storage system and the remote storage system in accordance with the remote copy configuration information.

BACKGROUND OF THE INVENTION

The present invention relates generally to a method and apparatus for data migration in a storage system. More particularly the present invention relates to a method and apparatus for virtualizing network storage of existing storage devices after migrating the existing storage devices to a new storage system.

Data migration is the process of transferring data from an old storage system to another while data stored in the old storage system remain accessible. Data migration has become popular with computer users because it allows for storage system replacements with minimum impact on services. Data migration, is well known in the art and is available for example from Hitachi Data Systems of Santa Clara, Calif.

“Remote copy” is a mirroring technology that involves the copying of data from a local site to a remote site for back-up purposes. Typically, remote copy is done in real-time to provide continuous data protection, and thereby minimize data loss in the event of a disaster such as a storage system crash or unscheduled facility shutdown (e.g., due to fire, earthquake, power loss, etc.). Remote copy software and associated apparatus have been developed for backing-up the storage systems of a local mainframe computer using remote storage systems.

Users who have already implemented remote copy face a dilemma when replacing their storage systems during a data migration. On the one hand, these users typically have a need to upgrade their old storage systems in order to take advantage of the faster speed and higher capacity of newer storage systems. On the other hand, they cannot afford to disrupt their existing remote copy functions, and risk the possibility of data loss, during the data migration process. Because currently available techniques for performing data migration require that the remote copy function be stopped for long periods of time and/or reconfigured after the migration (which also takes a long time because the remote copy has to start over from an initial copy), most users do not have a choice but to risk data loss during the migration process. Further, a considerable investment may have been made in the old storage devices thus making it advantageous if these assets can continued to be used after data migration.

From the foregoing, a technique for performing data migration with minimum impact on remote copy and that can continue the use of the old storage devices after data migration is highly desirable.

SUMMARY OF THE INVENTION

The present invention provides a method and apparatus for performing data migration in storage systems implementing the remote copy function and virtualizing storage of existing storage devices in a new storage system after migrating the existing storage devices to the new storage system.

According to the invention when a new storage system is connected to an old storage system destined for replacement and prior to starting data migration, remote copy configuration information from the old storage system is migrated to the new storage system. This allows either the new storage system or the old storage system, depending on configuration, to maintain an operational remote copy function with a remote storage system during the data migration. Thereafter, data is migrated from the old storage system as a virtual volume to the new storage system while data is being transferred between the new storage system and the remote storage system in accordance with the remote copy configuration information.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and a better understanding of the present invention will become apparent from the following detailed description of example embodiments and the claims when read in connection with the accompanying drawings, all forming a part of the disclosure of this invention. While the foregoing and following written and illustrated disclosure focuses on disclosing example embodiments of the invention, it should be clearly understood that the same is by way of illustration and example only and the invention is not limited thereto, wherein in the following brief description of the drawings:

FIG. 1 illustrates a data migration setup for replacing old storage systems having the primary and secondary volumes with new storage systems having virtual volumes to which the primary and secondary volumes are migrated according to the present invention;

FIGS. 2A and 2B illustrate the internal configuration of the new storage system which could for example include a storage controller or an intelligent switch according to the present invention;

FIGS. 3A-C illustrate a data migration setup for migrating data of the primary volume to the storage device of the first new storage system and migrating the secondary volume of the second old storage system to the second new storage system as a virtual volume;

FIG. 4 illustrates a data migration setup for migrating the primary volume of the first old storage system to the first new storage system as a virtual volume and migrating data of the secondary volume to the storage device of the second new storage system;

FIG. 5 illustrates a data migration setup for migrating the primary volume of the first old storage system to the first new storage system as a virtual volume and migrating the secondary volume of the second old storage system to the second new storage system as a virtual volume;

FIG. 6 illustrates a data migration setup for migrating data of the primary volume to the storage device of the first new storage system and migrating data of the secondary volume to the storage device of the second new storage system;

FIGS. 7A-D are flow charts illustrating the steps of data migration according to the present invention; and

FIG. 8 is a flow chart illustrating the steps of data migration including suspending synchronization and re-synchronizing remote replication between remote copy pairs.

DETAILED DESCRIPTION OF THE INVENTION

The present invention provides a method and apparatus for performing data migration in an existing storage system implementing the remote copy function and virtualizing storage of data of an old storage system in a new storage system after migrating data of the old storage system to the new storage system.

The present invention as illustrated in FIG. 1 provides a data migration setup to be implemented in an existing storage system including a first old storage system 101 which includes primary volumes 103 and a second old storage system 102 which includes secondary volumes 104. All Write Requests (WRs) to the primary volumes 103 are copied over to the secondary volumes 104 in synchronous or asynchronous mode via remote replication link 105. Hosts 131 are connected to the first old storage system 101 via connection 106-1 and hosts 132 are connected to the second old storage system 102 via connection 106-2.

According to the present invention, when data migration is to be conducted, the data migration setup according to the present invention introduces first and second new storage systems 121 and 122, respectively. The first new storage system 121 includes a virtual primary volume 123 and the second new storage system includes a virtual secondary volume 124. The first new storage system 121 connects to the first old storage system 101 via connection 107-1 and the second new storage system 122 connects to the second old storage system 102 via connection 107-2. Further, the first new storage system 121 connects to the first new storage system 121 via connection 112-1 and the second new storage system 122 connects to the second new storage system 122 via connection 112-2. Connections 107-1 and 107-2 and 112-1 and 112-2 are intended to replace connections 106-1 and 106-2. Still further, a connection 125 between the first and second new storage systems 121 and 122 is intended to replace remote replication link 105. The virtual primary and secondary volumes 123 and 124 provided by the new storage systems 121 and 122 are intended to replace primary and secondary volumes 103 and 104.

The internal structure of each of the new storage systems 121 and 122 are illustrated in FIGS. 2A and 2B. As per FIGS. 2A and 2B each of the new storage systems 121 and 122 includes at least two components, namely a storage controller or an intelligent switch and a plurality of storage devices.

As per FIG. 2A, the storage controller 201 includes a front end controller 2010 for interfacing with a channel of a host, back end controller 2011 for interfacing with a storage device 202 via disk interface (I/F) 108-1 and 108-2, an external storage controller 2012 for interfacing with a disk array 203, shared memory 2013 for caching data including control data transferred between the host and storage device 202 and the disk array 203 and an interconnection apparatus 2014 for interconnecting the front end controller 2010, back end and external storage controllers 2011 and 2012, respectively and shared memory 2013. Back end controller 2011 interfaces to the primary volume 103 and external storage controller 2012 interfaces to local secondary volume 109. It should be noted that the primary volume 103 and the local secondary volume 109 are logical volumes. The primary volume 103 is defined on a plurality of disk devices 2020 included in the storage device 202.

The local secondary volume 109 is defined on a plurality of disk drives 2030 included in the disk array 203 which includes a host interface (I/F) 2031 for interfacing with the storage controller 201, a disk I/F 2032 for interfacing with the disk drives 2030, a shared memory 2033 for caching data including control data transferred between the storage controller 201 and disk drives 2030, and an interconnection apparatus 2034 for interconnecting the host I/F 2030, disk I/F 2032, and shared memory 2033.

As illustrated in FIG. 2B an intelligent switch (SW) 204 in place of the storage controller 201 as per FIG. 2A is provided having a front end (host) controller 3010 for interfacing with a channel of a host, a back end controller 3011 for interfacing with the storage device 202 and the disk array 203 and an interconnection apparatus 3014 for interconnecting the front end controller 3010 and back end controller 3011. The back end controller 3011 interfaces to the primary volume 103 and the local secondary volume 109. The front end controller 2010 includes mapping tables 30101 having stored therein mapping information for mapping virtual volumes to the storage device 202 or the disk array 203. Particularly the mapping tables 30101 set relationships between a virtual volume block address and an actual block address on the storage device 202 or the disk array 203. As described above the primary volume 103 is defined on a plurality of disk devices 2020 included in the storage device 202 and the local secondary volume 109 is defined on a plurality of disk drives 2030 included in the disk array 203.

The various storage resources such the storage device 202, disk array 203, or any other such storage such as just a bunch of disks (JBOD), etc., are connected to a virtualization box implemented by the storage controller 201 or the intelligent SW 301, which can organize the various storages. In this case the ports of the storage device 202 and the disk array 203 are connected to the storage controller 201 or the intelligent SW 204 and these ports are all under the control of the storage controller 201 or the intelligent SW 204. Thus, as per the present invention as described above virtual volumes upon any existing storage device or disk array can be provided.

According to the present invention a key process of data migration is to import the existing Remote Copy (Replication) configuration information to the new storage system. As known the remote copy configuration information includes replication pair information, which identifies a volume or storage device in the storage system in the remote site designated to “mirror” a volume or storage device in the storage system in the local site. The remote copy configuration information normally includes at least the following: TABLE I Group ID P-Storage ID P-Device ID S-Storage ID S-Device ID 0 2345678 100 4345678 10 0 2345678 200 4345678 20 0 2345678 300 4345678 30

The Group Identifier (ID) is the identifier of the replication pair group which includes one or more replication pairs that are to be treated as a single group. The group as identified by the Group ID guarantees Point-in-Time volume images across multiple volumes where the Storage ID is the identifier of the storage system and the Device ID is the identifier of the logical storage device in the storage system and “P” represents primary and “S” represents secondary. Thus Table 1 illustrates which devices in which storage system is configured as replication volumes. This information as shown in Table 1 can be obtained from the old storage systems 101 and 102 or the hosts 131 and 132.

The remote copy configuration information can also include a control bitmap and some management information. The control bitmap has information showing the difference between data on the local and remote storage systems. In one embodiment, the control bitmap includes information indicating which data blocks have been updated and thus need to be copied to the remote storage system. The management information includes the status of the pair of storage systems. In one embodiment, the pair of storage systems can either be in the SUSPEND, PAIR, or COPY state. SUSPEND indicates that the remote copy process between the local and remote storage systems is suspended. The difference between the local and remote storage systems, which is reflected in the control bitmap, increases in the SUSPEND state. PAIR indicates that there is no difference between the local and remote storage systems, thus allowing write requests to be processed immediately (synchronous mode) or periodically (asynchronous mode). COPY indicates that data is being copied from the primary storage system to the corresponding secondary storage system.

FIGS. 7A-D are flowcharts that illustrate the steps of the data migration process according to the present invention. In the data migration process according to the present invention, it is assumed that before conducting any of these steps physical connection of the old storage systems and the new storage systems are established.

As per the flowchart illustrated in FIG. 7A the remote copy configuration information is imported from the old storage system to the new storage system (Step 301). Based on the imported remote copy configuration information, the new storage system recognizes the volumes from old storage system and creates virtual volumes upon the original volumes and exposes these virtual volumes using the same identifiers (Logical Unit Numbers) as the original volumes (Step 302). Thereafter, the connection 106-1, 106-2 between the hosts 131,132 and the old storage systems 101, 102 is disconnected or removed (Step 303). Synchronization between the replication pairs is suspended in time to interrupt host input/output (I/O) operations (Step 304). Thereafter, a connection is formed by the replication link 125 between the new storage systems 121 and 122 (Step 305). Replication pairs as per the remote copy configuration information between volumes and storages devices in the new storage systems 121 and 122 are created with no initial copy (Step 306). The new storage systems 121 and 122 are then connected to the host 131 and 132 by connectors 112-1 and 112-2 (Step 307). Data is migrated from the old storage systems 101 and 102 to the storage devices in the new storage systems 121 and 122 and/or migrated to virtual volumes 123 and 124 in the new storage systems 121 and 122 (Step 308). Finally the old storage systems 101 and 102 are removed if necessary (Step 309), otherwise the old storage systems 101 and 102 can be used as part of the storage available to the new storage systems 121 and 122 after data migration. The virtualization capabilities of the new storage systems 121 and 122 are useful in this regard. Thus, Steps 308 and 309 are optional depending upon user selection.

As per the flowchart illustrated in FIG. 7B the remote copy configuration information is imported from the old storage system to the new storage system (Step 301 b). Based on the imported remote copy configuration information, the new storage system recognizes the volumes from the old storage system and creates virtual volumes upon the original volumes and exposes these virtual volumes using the same identifiers (Logical Unit Numbers) as the original volumes (Step 302 b). Thereafter, the connections 106-1,106-2 between the hosts 131, 132 and the old storage systems 101,102 are migrated to the new storage systems 121,122 (Step 303 b). Synchronization between the replication pairs is suspended in time to interrupt host input/output (I/O) operations and thereafter the delta (changed) data is stored to the primary volume (Step 304 b). A connection is formed by the replication link 125 between the new storage systems 121 and 122 (Step 305 b). Replication pairs as per the remote copy configuration information between volumes and storages devices in the new storage systems 121 and 122 are created with no initial copy (Step 306 b). The data from the old storage systems is migrated if necessary 101 and 102 (Step 307 b). Finally the old storage systems 101 and 102 are removed if necessary (Step 308 b). Otherwise the old storage systems 101 and 102 can be used as part of the storage available to the new storage systems 121 and 122 after data migration. The virtualization capabilities of the new storage systems 121 and 122 are useful in this regard. Thus, Steps 307 b and 308 b are optional depending upon user selection.

The flowchart in FIG. 7C illustrates the details of Step 304 b as described above. As per FIG. 7C Step 304 b includes creating a bitmap table for each data block of the primary volume (Step 304 b-1). Thereafter, each time a write request is received from the HOST, a bit of the bitmap table corresponding to the block on the volume upon which the write request is to write is updated (Step 304 b-2). The delta (changed) data is then kept (Step 304 b-3).

The flowchart in FIG. 7D illustrates the details of Step 306 b as described above. As per FIG. 7D Step 306 b includes establishing the remote replication pair volume (Step 306 b-1). Thereafter, the delta (changed) data is copied to the same data block on the secondary volume and no data is copied to the other blocks except the blocks indicated in the bitmap table (Step 306 b-2).

FIG. 8 illustrates another example of the data migration process according to the present invention. As per FIG. 7A, after conducting a step such as Step 301 importing the remote copy configuration information to the new storage systems 121 and 122, the replication pairs indicated as having been set between volumes on the old storage systems 101 and 102 are going to be established between volumes on the storage devices within the new storage systems 121 and 122. In Step 302 the volumes are virtually migrated into the new storage systems 121 and 122, but the actual location of the data is still in the old storage devices. So if a user also wants to migrate the actual location of the data to the new storage devices in the new storage system, then the local replication pair between the virtually migrated volume and the volume on the storage devices in the new storage systems 121 and 122 is created (Step 401). If a user doesn't need to migrate the location of the volume from the old storage device, conducting the steps in FIG. 8 is not necessary. Once the initial copy has finished, synchronization between the replication pair in local storage is established.

Thereafter, the connection between the hosts and the old storage systems 101 and 102 is removed, if data migration from a primary volume is to be conducted (Step 403). The local replication pair is temporarily suspended and the roles of the primary and the secondary volumes in the local replication setup are swapped (Step 404). Synchronization between the replication pairs is re-established (Step 405). At this point, conducting to create the new remote replication pair between the volume on storage devices in local storage system and the volume on the remote storage system (step 304 in FIG. 7A) is ready. The connection between the hosts and the old storage systems is re-established if necessary (Step 406).

FIGS. 3A-C and 4-6 illustrate various examples of different configurations of the present invention where all or a portion of the data in a volume of an old storage system is moved to either a virtual volume or the storage device of a new storage system. These configurations of the present invention allow for a user to utilize various advantages offered by the different configurations, including the continued use of the storage devices of the old storage system for any desired purpose such as part of the storage available to the new storage system.

FIG. 3A illustrates a data migration setup for migrating data of the primary volume as represented on the storage device of the first old storage system 101 to the storage device 202-1 of the first new storage system 121 and migrating the secondary volume as represented on the storage device of the second old storage system 102 to the second new storage system 122 as a virtual volume rather than migrating the data of the secondary volume to the storage device of the second new storage system 122. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first and second new storage systems 121 and 122, respectively, are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 3A, data on the primary volume 103 (as illustrated in FIG. 1) of the first old storage system 101 is migrated (moved) to the storage device 202-1 of the first new storage system 121 and data of the secondary volume 104 of the second old storage system 102 is not moved but is instead managed by the second new storage system 122 as a virtual volume 124 (as illustrated in FIG. 1) by continuing use of a storage device or disk array of the second old storage system 102. Therefore, according to the present invention a new replication pair is established between the storage device 202-1 of the first new storage system 121 and the storage device or disk array of the second old storage system 102.

FIG. 3B illustrates a data migration setup for migrating the primary volume as represented on the storage device of the first old storage system 101 to the first new storage system 121 as a virtual volume and keeping the second storage system 102 as the remote storage system. Accordingly the present invention maintains the secondary volume as represented on the storage device 1020 of the second old storage system 102 as the secondary volume. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first new storage system 121 are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 3B, data on the primary volume 103 (as illustrated in FIG. 1) of the first old storage system 101 is not moved to the first new storage system 121 but is instead managed as a virtual volume by the first new storage system 121 and the second storage system 103, including data of the secondary volume of the second old storage system 102, is kept as the second (remote) storage system, thereby continuing the use of the second old storage system 102. Therefore, according to the present invention a replication pair is established (or maintained) between the storage device of the first old storage system 101 and the storage device 1020 of the second old storage system 102.

FIG. 3C illustrates a data migration setup for migrating data of the primary volume as represented on the storage device of the first old storage system 101 to the storage device 202-1 of the first new storage system 121 and keeping the second storage system 102 as the second (remote) storage system. Accordingly, the present invention maintains the secondary volume as represented on the storage device 1020 of the second old storage system 102 as the secondary volume. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first new storage system 121 are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 3C, data on the primary volume 103 (as illustrated in FIG. 1) of the first old storage system 101 is moved to the storage device 202-1 of the first new storage system 121 and the second storage system 102, including data of the secondary volume of the second old storage system 102, is kept as the second (remote) storage system, thereby continuing the use of the second old storage system 102. Therefore, according to the present invention a new replication pair is established between the storage device 202-1 of the first new storage system 121 and the storage device 1020 of the second old storage system 102.

FIG. 4 illustrates a data migration setup for migrating the primary volume 103 of the first old storage system 101 to the first new storage system 121 as a virtual volume 123 rather than migrating data to the storage device of the first new storage system 121 and migrating data of the secondary volume 104 to the storage device 202-2 of the second new storage system 122. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first and second new storage systems 121 and 122, respectively, are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 4, data of the primary volume 103 of the first old storage system 101 is not moved but is instead managed by the first new storage system 121 as a virtual volume 123 by continuing use of a storage device or disk array 1010 of the first old storage system 101 and data on the secondary volume 104 of the second old storage system 102 is moved to the storage device 202-2 of the second new storage system 122. Therefore, according to the present invention a new replication pair is established between the storage device or disk array 1010 of the first old storage system 101 and the storage device 202-2 of the second new storage system 102.

FIG. 5 illustrates a data migration setup for migrating the primary volume 103 of the first old storage system 101 to the first new storage system 121 as a virtual volume 123 rather than migrating data to a storage device of the first new storage system 121 and migrating the secondary volume 104 of the second old storage system 102 to the second new storage system 122 as a virtual volume 124 rather than migrating data to a storage device of the second new storage system 102. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first and second new storage systems 121 and 122, respectively, are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 5, data of the primary volume 103 of the first old storage system 101 is not moved but is instead managed by the first new storage system 121 as a virtual volume 123 by continuing use of the storage device or disk array 1010 of the first old storage system 101 and data of the secondary volume 104 of the second old storage system 102 is not moved but is instead managed by the second new storage system 122 as a virtual volume 124 by continuing use of the storage device or disk array 1020 of the second old storage system 102. Therefore, according to the present invention a new replication pair is established between the storage device or disk array 1010 of the first old storage system 101 and the storage device or disk array 1020 of the second old storage system 102.

FIG. 6 illustrates a data migration setup for migrating data of the primary volume 103 to the storage device 202-1 of the first new storage system 121 and migrating data of the secondary volume 104 to the storage device 202-2 of the second new storage system 122. It should be noted that each of the first and second old storage systems 101 and 102, respectively, and the first and second new storage systems 121 and 122, respectively, are connected to each other by a communication network 134 which is further connected to a management terminal 133. The management terminal 133, via the communication network 134, can be used by a system administrator (user, etc.) to manage the operation of the storage systems together as a whole or manage the operation of each of the storage systems individually.

Thus, according to the present invention as illustrated in FIG. 6, data on the primary volume 103 of the first old storage system 101 is moved to the storage device 202-1 of the first new storage system 121 and data on the secondary volume 104 of the second old storage system 102 is moved to the storage device 202-2 of the second new storage system 122. Therefore, according to the present invention a new replication pair is established between the storage device 202-1 of the first new storage system 101 and the storage device 202-2 of the second new storage system 102.

As described above the present invention provides a method and apparatus for performing data migration in storage systems implementing the remote copy function and virtualizing existing storage devices in a new storage system after migrating the existing storage devices to the new storage system.

As per the present invention when a new storage system is connected to an old storage system destined for replacement, and prior to starting data migration, remote copy configuration information from the old storage system is migrated to the new storage system. This allows either the new storage system or the old storage system, depending on configuration, to maintain an operational remote copy function with a remote storage system during the data migration. Thereafter, data is migrated from the old storage system as a virtual volume to the new storage system while data is being transferred between the new storage system and the remote storage system in accordance with the remote copy configuration information.

While the invention has been described in terms of its preferred embodiments, it should be understood that numerous modifications may be made thereto without departing from the spirit and scope of the present invention. It is intended that all such modifications fall within the scope of the appended claims. 

1. A method for performing online data migration comprising the steps of: coupling a first storage system to a second storage system, wherein the first storage system is destined to be replaced with the second storage system; migrating remote copy configuration information from the first storage system to the second storage system; coupling the second storage system to a third storage system remotely located from the first storage system; and migrating data from the first storage system as a virtual volume to the second storage system while data is being transferred between the second storage system and the third storage system in accordance with the remote copy configuration information.
 2. The method of claim 1, further comprising the steps of: before migrating the remote copy configuration information from the first storage system to the second storage system, removing a host connection between the first storage system and a host processor and coupling the host processor to the second storage system.
 3. The method of claim 1, further comprising the steps of: saving remote copy data as pending data in the second storage system to be written to the third storage system prior to a disruption of a remote copy connection between the first and third storage systems.
 4. The method of claim 1, wherein the first storage system and the second storage system are primary storage systems, and the third storage system is a secondary storage system designated to mirror a primary storage system.
 5. The method of claim 1, wherein the first storage system and the second storage system are secondary storage systems, and the third storage system is a primary storage system that is mirrored by a secondary storage system.
 6. The method of claim 1, wherein the first storage system and the second storage system each includes one or more disk units.
 7. A system for performing an online data migration comprising: a first storage system located in a first location; a second storage system located in the first location and containing remote copy configuration information, the second storage system being designated to be replaced with the first storage system, the second storage system being coupled to the first storage system during an online data migration from the second storage system to the first storage system; a third storage system located in a second location; a remote copy connection coupling the third storage system to a storage system in the first location, and wherein during the online data migration the remote copy connection is operable to carry data according to the remote copy configuration information.
 8. The system of claim 7, wherein the first storage system and the second storage system are primary storage systems, and the third storage system is a secondary storage system designated to back-up the first storage system over the remote copy connection.
 9. The system of claim 7, wherein the first storage system and the second storage system are secondary storage systems, and the third storage system is a primary storage system that is backed-up by the first storage system over the remote copy connection.
 10. The system of claim 7, wherein the remote copy connection couples the third storage system to the first storage system.
 11. The system of claim 7, wherein the remote copy connection couples the third storage system to the second storage system.
 12. The system of claim 7, wherein the first storage system is coupled to a mainframe host processor.
 13. The system of claim 7, wherein the first storage system and the second storage system are from the same manufacturer.
 14. The system of claim 7, wherein the first storage system and the second storage system are from different manufacturers.
 15. A method for performing online data migration comprising: coupling a first primary storage system to a second primary storage system; coupling the first primary storage system to a host processor; migrating remote copy configuration information from the second primary storage system to the first primary storage system; and migrating data from the second primary storage system to the first primary storage system while data are being transferred between the second primary storage system and a secondary storage system in accordance with the remote copy configuration information.
 16. The method of claim 15, wherein the host processor includes a mainframe host processor.
 17. The method of claim 15, wherein the first primary storage system, the second primary storage system, and the secondary storage system each includes one or more disk units.
 18. The method of claim 15, further comprising: removing the second primary system; and coupling the first primary storage system to the secondary storage system after the completion of data migration from the second primary storage system to the first primary storage system.
 19. The method of claim 15, further comprising: saving remote copy data as pending data in the first primary storage system to be written to the secondary storage system when a remote copy connection between the first primary storage system and the secondary storage system becomes available.
 20. The method of claim 15, wherein the first primary storage system and the second primary storage system are from the same manufacturer. 